<?php
namespace app\Operation_management\controller;
use think\Controller;
use think\Db;

class Copyright extends Logincheck{
	function Copyright(){
		$res = db('Copyright')->find();
		$this->assign("res",$res);
		return $this->fetch();
	}
	function add($id){
		$Article["content"] = $_POST["content"];
		$res = db('Copyright')->where('id',$id)->update($Article);
		return $this->success('修改成功');
	}
}